package eu.telecom_bretagne.xml_parser;



	public class Node{
		private int id;
		private double lat, lon;
		private String name, place;

		public Node(){}

		public int getId(){return id;}
		public String getName(){return name;}
		public String getPlace(){return place;}
				
		public void setId(int id){this.id = id;}
		public void setName(String name){this.name= name;}
		public void setPlace(String place){this.place = place;}
		
		public String toString(){
			return new StringBuffer(id + "- Name: ").append(name).append(", ")
				.append("Place: ").append(place).append(" - Lat: ").append(lat).append(" , Lon: ").append(lon)
				.toString();
		}

		public double getLon() {
			return lon;
		}

		public void setLon(double lon) {
			this.lon = lon;
		}

		public double getLat() {
			return lat;
		}

		public void setLat(double lat) {
			this.lat = lat;
		}
	
}
